-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Auth/pm 29584/create email for emergency access removal #6793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Auth/pm 29584/create email for emergency access removal #6793
Conversation
…UserFeatures space.
|
New Issues (2)Checkmarx found the following issues in this Pull Request
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6793 +/- ##
==========================================
- Coverage 55.95% 55.94% -0.02%
==========================================
Files 1964 1965 +1
Lines 86791 86794 +3
Branches 7729 7729
==========================================
- Hits 48567 48560 -7
- Misses 36425 36435 +10
Partials 1799 1799 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Claude finished @enmande's task in 2m 47s —— View job Code Review SummaryOverviewPR #6793 adds email template infrastructure for notifying users when emergency access grantees are removed, and relocates EmergencyAccess services to the UserFeatures namespace. Assessment: ✅ APPROVEDThis PR demonstrates excellent code quality with comprehensive test coverage and follows established Bitwarden patterns. Changes ReviewedNew Email Template System
Namespace Refactoring
Security Analysis ✅
Correctness ✅
Breaking Changes ✅
Test Coverage ✅
Code Quality ✅
Developer Response to Previous ReviewThe developer appropriately addressed prior suggestions:
Notes
RecommendationAPPROVE - This PR is ready to merge. The code is well-architected, thoroughly tested, and follows Bitwarden security and quality standards. Review completed: All critical areas examined
Reviewed by Claude Code (Bitwarden Code Review Agent) |
|
Re: Claude comments:
Overriding
|


🎟️ Tracking
PM-29584
📔 Objective
Adds an email template and view for sending notifications to users that one or more of their emergency contacts (Emergency Access user feature grantees) has been removed.
Includes HTML and text-only email templates with unit tests to illustrate instantiation and consumption with the newer
IMailerstrategy (not the legacy Handlebars mailer service).🥇 Bonus: moves
EmergencyAccessinto theUserFeaturesspace. As I understand, this has been a desired relocation to align with other Auth architecture. The positioning of the mail templates also mirrors this move to set up future feature-scoped development.📸 Screenshots
HTML: Single contact removed
HTML: Multiple contacts removed
Text
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:) or similar for great changes:memo:) or ℹ️ (:information_source:) for notes or general info:question:) for questions:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:) for suggestions / improvements:x:) or:warning:) for more significant problems or concerns needing attention:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt:pick:) for minor or nitpick changes